import Vue from "vue";
import Icon from "@/components/Iconfont.vue";
import VivoDown from "@/components/VivoDown";
import FilterDownMenu from "@/components/FilterDownMenu/FilterDownMenu.vue";
import FilterDownBox from "@/components/FilterDownMenu/FilterDownBox.vue";
import { CollapseTransition } from "@ivanv/vue-collapse-transition";
import api from "@/api";
import VueClipboard from "vue-clipboard2";
import listView from "vue-better-list-view";
import vueCustomScrollbar from "vue-custom-scrollbar";
import "vue-custom-scrollbar/dist/vueScrollbar.css";
import RouteTransition from "vue-route-transition";

Vue.prototype.api = api;
Vue.component("icon", Icon);
Vue.component("VivoDown", VivoDown);
Vue.component("CollapseTransition", CollapseTransition);
Vue.component("FilterDownMenu", FilterDownMenu);
Vue.component("FilterDownBox", FilterDownBox);
Vue.component("vueCustomScrollbar", vueCustomScrollbar);
Vue.use(RouteTransition);

// VueClipboard.config.autoSetContainer = true; // add this line
Vue.use(VueClipboard);
Vue.use(listView);
